<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>Document</title>
</head>
<body>
	<script>
		function stopTouchendPropagationAfterScroll(e){
			var locked = false;
			var bwc = document.getElementById(e);
			bwc.addEventListener('touchmove', function(ev){
				locked || (locked = true, bwc.addEventListener('touchend', stopTouchendPropagation, true));
			}, true);
			function stopTouchendPropagation(ev){
				ev.stopPropagation();
				bwc.removeEventListener('touchend', stopTouchendPropagation, true);
				locked = false;
			}
		}
		stopTouchendPropagationAfterScroll("bwn-content")
	</script>
</body>
</html>